
steps = 7
i = 1
FIND = False

while i < 100:
    if ((steps % 2 == 1) and (steps % 3 == 2) and (steps % 5 == 4) and (steps % 6 == 5)):
        FIND = True
        break
    else:
        steps = 7 * (i+1)
    i = i + 1

if FIND == True:
    print('阶梯数是：', steps)
else:
    print('在程序限定的范围内找不到答案！')
